package org.linlinjava.litemall.admin.dto;

import org.linlinjava.litemall.db.domain.AgedmallStore;

import java.math.BigDecimal;

/**
 * 获取医院id请求对象
 */

public class LbmHospitalDto {
    // 医院id
    private Long id;

    private String lbmName;

    private String lbmAddress;

    private BigDecimal lbmLat;

    private BigDecimal lbmLng;

    private Integer provinceId;

    private Integer cityId;

    private Integer villageId;

    private String province;

    private String city;

    private String village;

    private String lbmConcat;

    private String lbmConcatPhone;

    public LbmHospitalDto() {
    }

    public LbmHospitalDto(AgedmallStore store) {
        this.lbmName = store.getStoreName();
        this.lbmAddress = store.getAddressDetail();
        this.lbmLat = store.getLat();
        this.lbmLng = store.getLng();
        this.provinceId = store.getProvinceId().intValue();
        this.cityId = store.getCityId().intValue();
        this.villageId = store.getAreaId().intValue();
        this.province = store.getProvinceName();
        this.city = store.getCityName();
        this.village = store.getAreaName();
        this.lbmConcat = store.getUserName();
        this.lbmConcatPhone = store.getPhone();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLbmName() {
        return lbmName;
    }

    public void setLbmName(String lbmName) {
        this.lbmName = lbmName;
    }

    public String getLbmAddress() {
        return lbmAddress;
    }

    public void setLbmAddress(String lbmAddress) {
        this.lbmAddress = lbmAddress;
    }

    public BigDecimal getLbmLat() {
        return lbmLat;
    }

    public void setLbmLat(BigDecimal lbmLat) {
        this.lbmLat = lbmLat;
    }

    public BigDecimal getLbmLng() {
        return lbmLng;
    }

    public void setLbmLng(BigDecimal lbmLng) {
        this.lbmLng = lbmLng;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getVillageId() {
        return villageId;
    }

    public void setVillageId(Integer villageId) {
        this.villageId = villageId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public String getLbmConcat() {
        return lbmConcat;
    }

    public void setLbmConcat(String lbmConcat) {
        this.lbmConcat = lbmConcat;
    }

    public String getLbmConcatPhone() {
        return lbmConcatPhone;
    }

    public void setLbmConcatPhone(String lbmConcatPhone) {
        this.lbmConcatPhone = lbmConcatPhone;
    }
}
